<template>
  <div id="app">
    <c-header></c-header>
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>

    <landing-page ref="landingPage"></landing-page>
  </div>
</template>

<script>
import CHeader from "./components/title";
import LandingPage from './components/LandingPage.vue'
export default {
  components: { CHeader, LandingPage },
  mounted() { 
    window.setTimeout(() => { 
        console.log('开启自动更新  -----》 ')
        // @TODO 开启自动更新
        this.$refs.landingPage.CheckUpdate('one')
    }, 10000)
  }
};
</script>

<style>
/* CSS */

.el-input.is-disabled .el-input__inner {
    background-color: #c9dcf9 !important;
    border-color: #0f3e9b !important;
    color: #213767 !important;
    font-size: 20px;
    cursor: not-allowed !important;
}
</style>
